/**
 * Created by HUANGFR2 on 8/19/2016.
 */
const controller = require('../controller/dish.server.controller');

function fn(app){
    app.route('/dish')
        .get(controller.findAll)
        .put(controller.updateDishStatus);

    app.route('/dish/dishRecommendation')
        .get(controller.dishRecommendation);
}

module.exports = fn;